"""
@Time    : 20/8/19 10:16 AM
@Author  : ningyishuang
"""

import os

ROOTPATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')

## log
LOG_PATH = os.path.join(ROOTPATH, 'logs')
DEFAULT_NAME = 'default'
DEFAULT_FILE_PATH = 'material_identify.log'

############ model DIR #########
MODEL_PATH = os.path.join(ROOTPATH, 'models')
fasttext_vector_model = os.path.join(MODEL_PATH, 'cc.zh.300.vec')

############ dic DIR #########
DIC_PATH = os.path.join(MODEL_PATH, 'dict')
stop_word_path = os.path.join(DIC_PATH, 'stop_words.txt')
seg_dict_path = os.path.join(DIC_PATH, 'seg_dict.txt')

########### data ###########
# data_path = os.path.join(LIB_PATH, 'data/cailiao')
data_path = os.path.join(MODEL_PATH, 'data/shebei')
trian_data_path = os.path.join(data_path, 'train.txt')
dev_data_path = os.path.join(data_path, 'dev.txt')
test_data_path = os.path.join(data_path, 'old_test.txt')
labels_data_path = os.path.join(data_path, 'label.txt')
